package com.spvs.approval.domain.vo;

import lombok.Data;

import java.util.Date;

@Data
public class ApprovalSubmitDto {


    /**
     * 审批状态 (101未开始 102 已读  201 审批中  301通过  302 驳回)
     */
    public final static Integer APPROVAL_STATUS_NOT_STARTED = 101;
    public final static Integer APPROVAL_STATUS_READ = 102;
    public final static Integer APPROVAL_STATUS_IN_PROGRESS = 201;
    public final static Integer APPROVAL_STATUS_ADOPT = 301;
    public final static Integer APPROVAL_STATUS_NOT_PASSED = 302;


    /**
     * 数据有效1 无效0
     */
    public final static String APPROVAL_DATA_STATUS_EFFECTIVE = "1";
    public final static String APPROVAL_DATA_STATUS_INVALID = "0";

    private Integer id;
    /**
     * 审批标题
     */
    private String title;
    /**
     * 审批编号
     */
    private String code;
    /**
     * 审批内容
     */
    private String content;
    /**
     * 审批金额
     */
    private Double amount;
    /**
     * 审批类型编码
     */
    private String typeCode;
    /**
     * 审批规则id集合
     */
    private String ruleIds;
    /**
     * 待审批序号
     */
    private Integer approvalSort;
    /**
     * 待审批员工id
     */
    private String approvalStaffId;
    /**
     * 审批状态（1-未开始；2-进行中；3-审批完成；4-审批失败）
     */
    private Integer approvalStatus;
    /**
     * 创建人id
     */
    private Integer createUserId;
    /**
     * 创建人名称
     */
    private String createUser;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 审批表单标识
     */
    private Integer fromId;

    /**
     * 审批人姓名
     */
    private String approvalStaffName;
    /**
     * 图片 地址
     */
    private String imgUrl;
    /**
     * 审批意见
     */
    private String approvalIdea;

    /**
     * 业务参数
     */
    private String businessJson;


    private String deptName;
    private String postName;
}